package com.hdoit.kylin.web.group.modelconfig;

import com.hdoit.kylin.web.group.providers.TemplateProvider;
import com.tennetcn.component.attribute.DisplayNameAttribute;
import com.tennetcn.component.attribute.DropDownListAttribute;
import com.tennetcn.component.attribute.base.ModelMetadataAttributeConfiguration;

public class TemplateSearchConfig extends ModelMetadataAttributeConfiguration{
	public TemplateSearchConfig(){
		this.setProperty("templateId")
			.hasAttribute(new DisplayNameAttribute("模版名称"))
			.hasAttribute(new DropDownListAttribute(new TemplateProvider()));
	}
}
